<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="__STATIC__/index/css/style.css">
    <link rel="stylesheet" href="/static/layui/layui/css/layui.css">
    <link rel="stylesheet" href="/static/layui/layui/css/layui.mobile.css">
</head>
<style>
    .a1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 150px;
        text-align: center;
        background-color: #f1eded;
    }

    .a2 {
        width: 100px;
        background-color: blue;
        margin-left: 80px;
        line-height: 50px;
        margin-top: 50px;
    }

    .cont_table_cont_1_img div :hover {
        display: block;
    }

    .cont_table_cont_1_img {
        position: relative;
    }

    .a3 {
        color: #fff;
        width: 100px;
        height: 50px;
        background-color: cornflowerblue;
        margin: 50px 0 0 80px;
        line-height: 50px;
    }

    .cont_table_cont {
        width: 100%;
        height: 660px;
        padding: 50px;
    }
</style>

<body>
    <div class="top">
        <div class="top_title">
            滨州市数据汇聚平台
        </div>
        <div class="top_user">
            <div class="top_user_f5">
                <img src="__STATIC__/index/img/f5.png" alt="">
            </div>
            <div class="top_user_userphoto">
                {empty name="admin"}
                {else /}
                <img src="__STATIC__/index/img/uesrphoto.png" alt="">
                {/empty}
            </div>
            <div class="top_user_text">
                {empty name="admin"}
                <a href="{:url('index/login')}">登入</a>
                {else /}
                欢迎，{$admin}
                {/empty}
            </div>
            <!--<div class="top_user_select">-->
            <!--    <select name="" id="">-->
            <!--    </select>-->
            <!--</div>-->
            {empty name="admin"}

            {else /}
            <div class="top_user_tuichu">
                <img src="__STATIC__/index/img/tuichu.png" alt="">
            </div>
            <div class="top_user_text">
                <a href="javascript:;" id="logon">退出</a>
            </div>
            {/empty}
        </div>
    </div>
    <div class="cont">
        <div class="banner">
            <div class="banner_text">
                数据汇聚 数据分析 数据挖掘 数据感知
            </div>
        </div>
        <div class="cont_table">
            <div class="cont_table_title">
                <div class="cont_table_title_text">

                </div>
                <div class="cont_table_title_btn">
                    <div class="cont_table_title_btn_l">
                        待填报
                    </div>
                    <div class="cont_table_title_btn_l">
                        <a href="{:url('index/list')}">历史填报</a>
                    </div>
                </div>
            </div>
            <form id="admin">
                <div class="cont_table_cont">
                    <table class="layui-table" lay-size="sm">
                        <colgroup>
                            <col width="5">
                            <col width="150">
                            <col width="80">
                            <col width="100">
                            <col width="180">
                            <col width="180">
                            <col width="60">
                            <col width="60">
                        </colgroup>
                        <thead>
                            <tr>
                                <th width="5">序号</th>
                                <th>项目名称</th>
                                <th>责任单位责任人</th>
                                <th>计划开竣工时间</th>
                                <th>总体完成情况</th>
                                <th>本期完成情况</th>
                                <th>完成%</th>
                                <th>评价</th>
                            </tr>
                        </thead>

                        <tbody>
                            <tr>
                                <td>1</td>
                                <td>
                                    <input type="text" name="xmmc1" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="danwei1" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="shijian1" id="" class="layui-input">
                                </td>
                                <td style="height: 160px;">
                                    <textarea name="ztwcqk1" id="" class="layui-textarea" style="height: 160px;"></textarea>
                                </td>
                                <td style="height: 160px;">
                                    <textarea name="bqwcqk1" id="" class="layui-textarea" style="height: 160px;"></textarea>
                                </td>
                                <td>
                                    <input type="text" name="wancheng1" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="ping1" id="" class="layui-input">
                                </td>
                            </tr>
                        </tbody>

                        <tbody>
                            <tr>
                                <td>2</td>
                                <td>
                                    <input type="text" name="xmmc2" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="danwei2" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="shijian2" id="" class="layui-input">
                                </td>
                                <td style="height: 160px;">
                                    <textarea name="ztwcqk2" id="" class="layui-textarea" style="height: 160px;"></textarea>
                                </td>
                                <td style="height: 160px;">
                                    <textarea name="bqwcqk2" id="" class="layui-textarea" style="height: 160px;"></textarea>
                                </td>
                                <td>
                                    <input type="text" name="wancheng2" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="ping2" id="" class="layui-input">
                                </td>
                            </tr>
                        </tbody>

                        <tbody>
                            <tr>
                                <td>3</td>
                                <td>
                                    <input type="text" name="xmmc3" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="danwei3" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="shijian3" id="" class="layui-input">
                                </td>
                                <td style="height: 160px;">
                                    <textarea name="ztwcqk3" id="" class="layui-textarea" style="height: 160px;"></textarea>
                                </td>
                                <td style="height: 160px;">
                                    <textarea name="bqwcqk3" id="" class="layui-textarea" style="height: 160px;"></textarea>
                                </td>
                                <td>
                                    <input type="text" name="wancheng3" id="" class="layui-input">
                                </td>
                                <td>
                                    <input type="text" name="ping3" id="" class="layui-input">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="admin">立即提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</body>
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="/static/layui/layui/layui.js"></script>
<script src="/static/layui/layui/layui.all.js"></script>
<script src="/static/index/index/js/imgUp.js"></script>
<script>
    $('#logon').click(function() {
        $.post("{:url('index/index/logul')}", '', function(data) {
            // console.log(data);
            $('#scripta').append(data);
            layer.msg('正在退出');
            setTimeout(function() {
                window.location.href = '{:url("index/index/login")}';
            }, 2000);
        })
    });
    $('.cont_table_cont_1_img').hover(function() {
        $(".a1").css('display', 'block');
    }, function() {
        $(".a1").css('display', 'none');
    });
</script>
<script>
    layui.use(['layer', 'form'], function() {
        var layer = layui.layer,
            $ = layui.jquery,
            form = layui.form;
        $(window).on('load', function() {
            form.on('submit(admin)', function(data) {
                $.ajax({
                    url: "{:url('index/index/ji')}",
                    data: $('#admin').serialize(),
                    type: 'post',
                    async: false,
                    success: function(res) {
                        if (res.code == 1) {
                            location.href = res.url;
                        } else {
                        }
                    }
                })
                return false;
            });
        });
    });
</script>

</html>